﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IEnumerableExtentions
{
    class ExtentionTest
    {
        static void Main(string[] args)
        {
            List<decimal> numbers = new List<decimal>();
            for (int index = 0; index < 10; index++)
            {
                numbers.Add(index);
            }
            Console.WriteLine(numbers.EnumSum());
        }
    }
}
